.information {
    margin-top: 1rem;
    height: 8.5rem;
    width: 14rem;
    background-color: green;
    margin-left: 1rem;

    img {
        object-fit: cover;
        height: 8.5rem;
        width: 14rem;
    }
}

.nba {
    margin-left: 1rem;
    margin-top: 0.7em;
    height: 8.5rem;
    width: 14rem;
    background-color: pink;

    img {
        object-fit: cover;
        height: 8.5rem;
        width: 14rem;
    }
}

.img_div {
    // border-radius: .625rem;
    display: block;
    position: relative;
}

.mask {
    position: absolute;
    background: rgb(0, 0, 0);
    color: #ffffff;
    opacity: 0;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    border-radius: .625rem;
    // pointer-events:none;
}

.img_div:hover .mask {
    opacity: 0.2;
    transition: 0.5s;
}